package fr.resasante.ejb.utils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class EjbResponse implements Serializable {
	/**
	 * generated serial version UID
	 */
	private static final long serialVersionUID = 205947203768433102L;

	private List<String> errors = null;;

	public EjbResponse() {
		super();
		errors = new ArrayList<String>();
	}

	public void addError(String key) {
		errors.add(key);
	}

	public List<String> getErrors() {
		return errors;
	}
}
